package com.cskaoyan.service;

import com.cskaoyan.model.Coupon;
import com.cskaoyan.model.CouponUser;
import com.cskaoyan.model.bo.CouponListBO;
import com.cskaoyan.model.bo.CouponUserListBO;
import com.cskaoyan.model.vo.CouponInfoVO;
import com.cskaoyan.model.vo.DataVO;

import java.util.List;

/**
 * @ClassName: AdService
 * @Description: 优惠券模块service接口
 * @Author:YPS
 * @Date: 2022/5/6 14:28
 * @Version: 1.0
 **/
public interface CouponService {
//    List<CouponInfoVO> queryAllCoupon(CouponListBO couponListBO);

    DataVO<CouponInfoVO> queryCoupon(CouponListBO couponListBO);

    Coupon createCoupon(Coupon couponInfoVO);

    CouponInfoVO updateCoupon(Coupon couponInfoVO);

    void deleteCoupon(Coupon couponInfoVO);

    Coupon queryCouponById(Integer id);

    DataVO<CouponUser> getUserList(CouponUserListBO couponUser);
}
